<?php
/*------------------------------------------------------------------------
# mod_vportfolio - VPortfolio Module
# ------------------------------------------------------------------------
# author    Vsmart Extensions
# copyright Copyright (C) 2010 www.vsmart-extensions.com. All Rights Reserved.
# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Websites: http://www.vsmart-extensions.com
# Technical Support:  Forum - http://www.vsmart-extensions.com
-------------------------------------------------------------------------*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

// Include the syndicate functions only once
require_once (dirname(__FILE__).DS.'helper.php');
$rows	= modVstPortfolioHelper::getImages($params);
modVstPortfolioHelper::setImages($rows, $params);
$itemId = modVstPortfolioHelper::getItemID();
$valueConfig = modVstPortfolioHelper::getConfigClickToThumbImage();
$document = & JFactory::getDocument();

$document->addScript(JURI::base().'modules/mod_vportfolio/tmpl/js/image-slideshow.js');	
$document->addScript(JURI::base().'components/com_vportfolio/js/jquery.js');	
$document->addScript(JURI::base().'components/com_vportfolio/js/prettyPhoto.js');	
$document->addStyleSheet(JURI::base().'components/com_vportfolio/prettyPhoto.css');
$document->addStyleSheet(JURI::base().'modules/mod_vportfolio/tmpl/css/style.css');

require(JModuleHelper::getLayoutPath('mod_vportfolio'));
?>